//index.js
//获取应用实例
const app = getApp()
Page({
	data: {
		openid: '',
		nickName: '',
		avatarUrl: '',
		curentNav: 2, //当前导航
		url: ''
	},
	//事件处理函数
	onLoad: function(e) {
		this.setData({
			url: e.url
		})
		if (app.globalData.nickName && app.globalData.avatarUrl) {
			this.setData({
				nickName: app.globalData.nickName,
				avatarUrl: app.globalData.avatarUrl
			})
		}
	},
	onReady: function() {		
	},
	preventTouchMove: function() {

	}

})
